// 最后一次销售价格
const {DataTypes, db } = require("../db");
db.define('vPriceHisLast', {

tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:''}, 
buId:{type: DataTypes.INTEGER,comment:''}, 
invId:{type: DataTypes.INTEGER,comment:''}, 
unit:{type: DataTypes.STRING(4),comment:''}, 
price:{type: DataTypes.DECIMAL(10, 2),comment:''}, 
deduction:{type: DataTypes.DECIMAL(10, 2),comment:''}, 

}, {
    tableName: 'v_price_his_last',
    timestamps: false,
    comment: '最后一次销售价格',
    
});